package com.hry.store.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class ProductDetail {
    /** 主键id */
    private Integer detailId;

    /** 产品id */
    private Integer productId;

    /** 产品图片 */
    private String productImgs;

    /** 产品版本 */
    private String productVersion;

    /** 产品颜色 */
    private String productColor;

    /** 对应产品价格 */
    private BigDecimal productPrice;

    /** 产品状态 */
    private Integer productStatus;

    /** 优惠信息 */
    private String discountInfo;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public ProductDetail(Integer detailId, Integer productId, String productImgs, String productVersion, String productColor, BigDecimal productPrice, Integer productStatus, String discountInfo, Date createTime, Date updateTime) {
        this.detailId = detailId;
        this.productId = productId;
        this.productImgs = productImgs;
        this.productVersion = productVersion;
        this.productColor = productColor;
        this.productPrice = productPrice;
        this.productStatus = productStatus;
        this.discountInfo = discountInfo;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public ProductDetail() {
        super();
    }

    public Integer getDetailId() {
        return detailId;
    }

    public void setDetailId(Integer detailId) {
        this.detailId = detailId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductImgs() {
        return productImgs;
    }

    public void setProductImgs(String productImgs) {
        this.productImgs = productImgs == null ? null : productImgs.trim();
    }

    public String getProductVersion() {
        return productVersion;
    }

    public void setProductVersion(String productVersion) {
        this.productVersion = productVersion == null ? null : productVersion.trim();
    }

    public String getProductColor() {
        return productColor;
    }

    public void setProductColor(String productColor) {
        this.productColor = productColor == null ? null : productColor.trim();
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public Integer getProductStatus() {
        return productStatus;
    }

    public void setProductStatus(Integer productStatus) {
        this.productStatus = productStatus;
    }

    public String getDiscountInfo() {
        return discountInfo;
    }

    public void setDiscountInfo(String discountInfo) {
        this.discountInfo = discountInfo == null ? null : discountInfo.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}